Skip to content

feat: personal canvas dashboard#9507

Open
AdityaHegde wants to merge 16 commits into
mainfrom
feat/personal-canvas-dashboard
Open

feat: personal canvas dashboard#9507
AdityaHegde wants to merge 16 commits into
mainfrom
feat/personal-canvas-dashboard

Conversation

@AdityaHegde

@AdityaHegde AdityaHegde commented May 28, 2026

Copy link
Copy Markdown
Collaborator

Adds a personal canvas dashboard feature under personal_canvases feature flag. Saved as virtual files with user id as owner. These wont show up in primary dashboard lists but will show up in status with a user icon beside it.

  • Isolated canvas editor.
  • Isolate personal canvases from general project.
  • Limit time ranges during edit. We will allow the user to see the full time range.

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

@AdityaHegde AdityaHegde force-pushed the feat/personal-canvas-dashboard branch from 0daacba to 3fc2cd5 Compare June 11, 2026 05:28
@AdityaHegde AdityaHegde force-pushed the feat/personal-canvas-dashboard branch from 3fc2cd5 to d1fc6ca Compare June 11, 2026 05:29

@nishantmonu51 nishantmonu51 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few correctness bugs (two nil-pointer panics, a crash in the dashboard listing) and leftover debug logging, plus a layering and an access-control concern. Details inline.


Developed in collaboration with Claude Code

Comment thread admin/server/virtual_file.go
Comment thread admin/server/virtual_file.go
Comment thread admin/server/virtual_file.go
Comment thread web-admin/src/features/dashboards/listing/selectors.ts Outdated
Comment thread web-common/src/features/entity-management/file-artifact.ts Outdated
Comment thread web-admin/src/features/personal-files/SharePersonalFile.svelte Outdated
Comment thread web-common/src/features/projects/status/NameCell.svelte Outdated
Comment thread runtime/security.go
}
ownedByUser := userID != "" && userID == spec.Annotations["admin_owner_user_id"]

shared, ok := spec.Annotations["admin_shared"]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When admin_shared is "true" this allows any claims, including public-URL/magic-token contexts, not just project members. The share UI describes this as sharing "with all users in the project"; if that is the intent, the rule should require an authenticated project user rather than allowing all callers.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These apply on top of underlying access rules. So it wont be accessible by users outside of the project. I can double check once to make sure

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed it is not accessible by users outside of the project.

Comment thread web-admin/src/features/personal-files/canvas/CreatePersonalCanvasDialog.svelte Outdated
@AdityaHegde AdityaHegde marked this pull request as ready for review June 12, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants